package com.bluefish.bltuan.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.bluefish.bltuan.dao.TicketDao;
import com.bluefish.bltuan.module.shop.Ticket;
import com.bluefish.bltuan.module.user.User;
import com.bluefish.bltuan.util.PageIndex;

@Repository
public class TicketDaoImpl extends AbstractDaoImpl<Ticket, Integer> implements TicketDao {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public List<Ticket> listByUser(User user, PageIndex pageIndex) {
		return listByProperty(pageIndex, "user", user);
	}

	
}
